﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace RockCompany.Common.Forms
{
    public partial class DateTimePopup : Form
    {
        public DateTimePopup()
        {
            InitializeComponent();
        }

        private void button_Ok_Click(object sender, EventArgs e)
        {
            this.Hide();
        }

        public DateTime getSelectDateTime()
        {
            return DateTime.Parse(monthCalendar_DateTime.SelectionStart.ToLongDateString());
        }
    }
}
